package com.jt.dao;

import com.jt.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface AdminMapper {

  Admin login(@Param("name") String name, @Param("password") String password);

  Admin queryByid(Integer id);

}
